POV-Ray : Newsgroups : povray.newusers : Wrapping A Hieght Field Object Around an elipsoid object : Re: Wrapping A Hieght Field Object Around an elipsoid object Server Time
31 Jul 2024 04:25:18 EDT (-0400)
  Re: Wrapping A Hieght Field Object Around an elipsoid object  
From: Warp
Date: 25 Jan 2003 18:09:21
Message: <3e331921@news.povray.org>
James Patterson <jam### [at] covenantchristianorg> wrote:
> My
> question is about the possibility of wrapping a height field of the earths
> surface topography onto a spherical shape.  I would like my students to be
> able to experiment with issues like the difference between global elevations
> as they really are compared to pictures and illustrations which exaggerate
> the vertical scale. Is there a way to do this?

  The HF_Sphere() macro in shapes.inc has been designed for this purpose.
See the documentation about standard include files and shapes.inc.

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.